/* 
 * 路由表对象：
 * 该文件挂载在Vue原型中 $mRoutesConfig
 * 作用：调用$mRouter对象的方法 传入以下对应的路由对象，详细见common目录下的router.js
 * 示例：this.$mRouter.push({route:this.$mRoutesConfig.main,query:{a:1}})
 * 注意：所有在pages目录下新建的页面都必须在"路由表"中进行声明，并且在框架的pages.json注册。
 * 
 * 配置参数项说明： 
 * name:可选配置 （路由名称）
 * path:必填配置 （路由地址）
 * requiresAuth:可选配置 （是否权限路由）
 */

export default {
	// 权限路由

	startup: {
		name: "启动页",
		path: "/pages/app/startup",
	},
	login: {
		name: "登录",
		path: "/pages/app/login",
	},
	web: {
		name: "web",
		path: "/pages/app/web",
	},
	imgDetail: {
		name: "imgDetail",
		path: "/pages/app/img_detail",
	},
	search: {
		name: "搜索",
		path: "/pages/app/search",
		requiresAuth: true
	},
	index: {
		name: "首页",
		path: "/pages/app/index",
		requiresAuth: true
	},
	findScen: {
		name: "找剧本",
		path: "/pages/studio/scen_find",
		requiresAuth: true
	},
	scenRank: {
		name: "剧本排行",
		path: "/pages/studio/scen_rank",
		requiresAuth: true
	},
	studio: {
		name: "金牌发行",
		path: "/pages/studio/studio",
		requiresAuth: true
	},
	studioDetail: {
		name: "发行详情",
		path: "/pages/studio/studio_detail",
		requiresAuth: true
	},
	scenario: {
		name: "剧本详情",
		path: "/pages/studio/scenario",
		requiresAuth: true
	},
	exhibition: {
		name: "展会信息",
		path: "/pages/studio/exhibition",
		requiresAuth: true
	},
	information: {
		name: "行业资讯",
		path: "/pages/studio/information",
		requiresAuth: true
	},
	
	addIdle: {
		name: "发布闲本",
		path: "/pages/studio/add_idle",
		requiresAuth: true
	},
	scenIdle: {
		name: "闲本详情",
		path: "/pages/studio/scen_idle"
	},
	createOrderIdle: {
		name: "闲本下单",
		path: "/pages/order/create_idle",
		requiresAuth: true
	},
	orderIdleDetail: {
		name: "闲本订单详情",
		path: "/pages/order/idle_detail",
		requiresAuth: true
	},
	orderTypeRefund: {
		name: "选择退款类型",
		path: "/pages/order/type_refund",
		requiresAuth: true
	},
	orderIdleRefund: {
		name: "申请退款",
		path: "/pages/order/idle_refund",
		requiresAuth: true
	},
	orderRefundDetail: {
		name: "退款详情",
		path: "/pages/order/refund_detail",
		requiresAuth: true
	},
	
	
	
	
	myAccount: {
		name: "我的账户",
		path: "/pages/bank/account",
		requiresAuth: true
	},
	bankModify: {
		name: "修改收款账户",
		path: "/pages/bank/modify",
		requiresAuth: true
	},
	bankManage: {
		name: "收款账户管理",
		path: "/pages/bank/account_manage",
		requiresAuth: true
	},
	bankDetail: {
		name: "账户明细",
		path: "/pages/bank/detail",
		requiresAuth: true
	},
	widthdraw: {
		name: "提现",
		path: "/pages/bank/widthdraw",
		requiresAuth: true
	},
	
	
	shopinfo: {
		name: "商户详情",
		path: "/pages/game/shopinfo"
	},
	playinfo: {
		name: "玩家详情",
		path: "/pages/game/playinfo",
		requiresAuth: true
	},
	activity: {
		name: "活动详情",
		path: "/pages/game/activity"
	},
	community: {
		name: "社区详情",
		path: "/pages/game/community",
		requiresAuth: true
	},
	alliance: {
		name: "商家联盟",
		path: "/pages/game/alliance"
	},
	payalliance: {
		name: "商家联盟下单",
		path: "/pages/game/payalliance",
		requiresAuth: true
	},
	
	
	
	cityList: {
		name: "选择城市",
		path: "/pages/address/city-list",
		requiresAuth: true
	},
	addressManage: {
		name: "地址管理",
		path: "/pages/address/manage",
		requiresAuth: true
	},
	createAddress: {
		name: "编辑地址",
		path: "/pages/address/create",
		requiresAuth: true
	},
	
	
	myactivity: {
		name: "我的活动",
		path: "/pages/mine/activity",
		requiresAuth: true
	},
	myfans: {
		name: "我的粉丝",
		path: "/pages/mine/fans",
		requiresAuth: true
	},
	setting: {
		name: "设置",
		path: "/pages/mine/setting",
		requiresAuth: true
	},
	notice: {
		name: "通知",
		path: "/pages/mine/notice",
		requiresAuth: true
	},
	info: {
		name: "个人资料",
		path: "/pages/mine/info",
		requiresAuth: true
	},
	evaluate: {
		name: "我的评价",
		path: "/pages/mine/evaluate",
		requiresAuth: true
	},
	collection: {
		name: "我的收藏",
		path: "/pages/mine/collection",
		requiresAuth: true
	},
	myattent: {
		name: "我的关注",
		path: "/pages/mine/attent",
		requiresAuth: true
	},
	myidle: {
		name: "我的闲本",
		path: "/pages/mine/idle",
		requiresAuth: true
	},
	
}
